package com.cqb.cn.config;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

/**
 * @project_name: hqbz
 * @package_name: com.htsy.hqbz.config
 * @ClassName: CustomMvcConfiguration
 * @description: TODO
 * Author by cqb, Date on 2020/9/18，20:24
 * PS: Not easy to write code, please indicate.
 */
@Configuration
public class CustomMvcConfiguration implements InitializingBean {
    @Autowired
    private RequestMappingHandlerMapping requestMappingHandlerMapping;

    @Override
    public void afterPropertiesSet() throws Exception {
        requestMappingHandlerMapping.setRemoveSemicolonContent(false);
    }
}
